Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@testmo/testmo-api

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testmo/testmo-api

Testmo REST API JavaScript binding

  • 2.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
63K
increased by0.02%
Maintainers
4
Weekly downloads
 
Created
Source

Testmo REST API JavaScript binding

This package provides bindings to access Testmo's REST API from JavaScript projects. The package is based on Testmo's REST API spec.

Installation

Simply install the package into your project with NPM:

npm install @testmo/testmo-api

Example

var testmo = require('@testmo/testmo-api');

// Configure API client
const client = new testmo.ApiClient();
client.basePath = process.env.TESTMO_HOST;
client.authentications['bearerAuth'].accessToken = process.env.TESTMO_TOKEN;

// Request current user
const api = new testmo.UserApi(client);
const user = await api.getCurrentUser();

console.log(user);

Documentation

The API binding is based on Testmo's REST API. Please refer to the Testmo API reference documentation to learn more:

https://docs.testmo.com/

License

Copyright (c) Testmo GmbH (Berlin, Germany)
All rights reserved.
contact@testmo.com
www.testmo.com

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc